using System.Linq;
using Magiq.Behaviors;

namespace Magiq.Query
{
    public interface IQueryBehavior : IMagiqBehavior
    {
        IQueryStrategy<T> GetQueryStrategy<T>(IQuery<T> query) where T : class;
        IQueryable<T> Execute<T>(IQueryStrategy<T> strategy);
    }
}